package com.lwy.springbootdemo01.mapper;


import com.lwy.springbootdemo01.bean.Fruit;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Repository
public interface Fruitmapper {

    /**
     * 根据id 查询
     */
    @Select("select * from fruit_information where id =#{id}")
    Fruit queryfruit(String id);
}
